cmte
Version:
Design by Committee™ except it's just you and LLMs
33 lines (30 loc) • 640 B
text/xml
<TaskSummarizeModule>
You are an expert code analysis AI.
Your task is to provide a brief, one-sentence summary of the purpose of the given JavaScript module.
Use the module's code as context.
Input Module Code (moduleB):
<Files>
<SrcModulebJs>
```javascript
/**
* moduleB.js - Another sample module.
*/
export const add = (a, b) => {
return a + b;
};
export default class Calculator {
constructor(initialValue = 0) {
this.value = initialValue;
}
multiply(factor) {
this.value *= factor;
return this.value;
}
}
```
</SrcModulebJs>
</Files>
<>
One-sentence Summary:
</>
</TaskSummarizeModule>